package com.mz.ozy.mvp.view;

import android.app.Activity;
import android.content.Context;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.MyBookBean;
import com.mz.ozy.bean.MyShopBean;

import org.json.JSONObject;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class MyKeepContract {
    public interface View extends BaseView {
        void getBookSuccess(MyBookBean bean);
void  getCanclSuccess(JSONObject jsonObject);
        void getShopSuccess(MyShopBean bean);

    }

    public interface Presenter extends BasePresenter<View> {
        void getBook(Activity activity, String page);
        void getShop(Context context, String page);
        void getCancl(Context context, String type,String cid);
    }


}
